<?php
if (!isset($_SESSION)) session_start();
if (!isset($_SESSION["username"])) {
	echo "You are not authorized to use this module - log as admin";
	exit;
}
?>
<script type="text/javascript" src="/modules/general/functions.js"></script>

<div id=dev_request>
	<div>Request type:<br>
		<select id=dev_track_type>
			<option value=0>Bug
			<option value=1>Modification
		</select>
	</div>
	<div>Request details:<br><textarea id=dev_track_details></textarea></div>
	<div >Request status:<br><select id=dev_track_status>
		<option value=0>New
		<option value=1>In Hand
		<option value=2>Completed
		</select>

	</div>
</div>
<div id=dev_request_submit onclick="dev_track_new();"><button>Submit Request</button></div>
<div id=dev_track_result></div>
<div id=dev_track_list></div>
<script type="text/javascript">
<!--
add_css("/modules/dev_track/css/default.css");
add_js("/modules/dev_track/js/functions.js");
//-->
</script>